# -*- coding:utf-8 -*-

from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect, HttpResponse
from django.urls import reverse
from django.utils import timezone
from django.views import generic
from .models import Vehicle,Trip,Trace
import sys



reload(sys)  
sys.setdefaultencoding('utf8')



def moveView(request):
    points = Trace.objects.filter()
    return render(request, "move.html", {"points": points})

